<?php /* Smarty version 2.6.26, created on 2012-06-11 04:52:16
         compiled from ../templates/resources_type/index.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', '../templates/resources_type/index.tpl', 25, false),)), $this); ?>
<div class="resources_type sendForm">
	<h3>Tipo de Recursos</h3>
	<form name="resources_type">
    	<div class="action">
        	<div class="actionLabel">
            	<label></label>
                <input type="text" name="description" />
                <input type="button" class="new"  value="Nueva" />
                <input type="hidden" name="id" />
            </div>
            
            <div class="actionButtons">
                <p>
                	<input type="button" class="modify"  value="Modificar" />
                	<input type="button" class="delete"  value="Eliminar" />
                    <span> cancelar </span>
                </p>
            </div>
        </div>
        <div class="list">
            <table>            
                <tbody class="tbody">
                    <?php unset($this->_sections['list']);
$this->_sections['list']['loop'] = is_array($_loop=$this->_tpl_vars['listResources']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['list']['name'] = 'list';
$this->_sections['list']['show'] = true;
$this->_sections['list']['max'] = $this->_sections['list']['loop'];
$this->_sections['list']['step'] = 1;
$this->_sections['list']['start'] = $this->_sections['list']['step'] > 0 ? 0 : $this->_sections['list']['loop']-1;
if ($this->_sections['list']['show']) {
    $this->_sections['list']['total'] = $this->_sections['list']['loop'];
    if ($this->_sections['list']['total'] == 0)
        $this->_sections['list']['show'] = false;
} else
    $this->_sections['list']['total'] = 0;
if ($this->_sections['list']['show']):

            for ($this->_sections['list']['index'] = $this->_sections['list']['start'], $this->_sections['list']['iteration'] = 1;
                 $this->_sections['list']['iteration'] <= $this->_sections['list']['total'];
                 $this->_sections['list']['index'] += $this->_sections['list']['step'], $this->_sections['list']['iteration']++):
$this->_sections['list']['rownum'] = $this->_sections['list']['iteration'];
$this->_sections['list']['index_prev'] = $this->_sections['list']['index'] - $this->_sections['list']['step'];
$this->_sections['list']['index_next'] = $this->_sections['list']['index'] + $this->_sections['list']['step'];
$this->_sections['list']['first']      = ($this->_sections['list']['iteration'] == 1);
$this->_sections['list']['last']       = ($this->_sections['list']['iteration'] == $this->_sections['list']['total']);
?>
                    <tr id="<?php echo $this->_tpl_vars['listResources'][$this->_sections['list']['index']]['rt_IDtype']; ?>
">
                        <td><?php echo ((is_array($_tmp=$this->_tpl_vars['listResources'][$this->_sections['list']['index']]['rt_description'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'htmlall') : smarty_modifier_escape($_tmp, 'htmlall')); ?>
</td>
                    </tr>
                    <?php endfor; endif; ?>
                </tbody>
            </table>
        </div>
	</form>
</div>